package com.cjj.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 失物招领订单表
 * </p>
 *
 * @author admin
 * @since 2025-10-25
 */
@Data
@TableName("lostfound_order")
public class LostfoundOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 失物招领ID
     */
    @TableId(value = "lfId", type = IdType.AUTO)
    private Long lfId;

    /**
     * 关联订单ID
     */
    @TableField("orderId")
    private Long orderId;

    /**
     * 物品名称
     */
    @TableField("itemName")
    private String itemName;

    /**
     * 物品描述
     */
    @TableField("itemDesc")
    private String itemDesc;

    /**
     * 丢失/拾获地点
     */
    @TableField("place")
    private String place;

    /**
     * 丢失/拾获时间
     */
    @TableField("lfTime")
    private LocalDateTime lfTime;

    /**
     * 类型：lost-丢失, found-拾获
     */
    @TableField("lfType")
    private String lfType;

    /**
     * 认领人ID
     */
    @TableField("claimantId")
    private Long claimantId;

    /**
     * 联系方式
     */
    @TableField("contactInfo")
    private String contactInfo;

    /**
     * 物品图片URL，多个用逗号分隔
     */
    @TableField("images")
    private String images;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    private LocalDateTime updateTime;
}
